module "resourcepool-prod" {
    source                  = "../../../modules/maas/resource_pool"
    resource_pool_name      = "prod-k8s-cluster"
}

module "machine-10-10-12-52" {
    source                  = "../../../modules/maas/machine"
    enabled                 = true
    ipmi_power_address      = "10.253.254.53"
    ipmi_power_user         = "deeproute"
    ipmi_power_pass         = "Yrqxicr@123"
    machine_hostname        = "10-10-12-52"
    machine_cidr            = "10.10.12.0/24"
    machine_ip_address      = "10.10.12.52"
    machine_pool            = module.resourcepool-prod.name
    instance_image          = "ubuntu-20.04-hwe-2023-07-28-1690587096" 
    volume_docker_data_disk = true
}

module "machine-10-10-12-53" {
    source                  = "../../../modules/maas/machine"
    enabled                 = true
    ipmi_power_address      = "10.253.254.54"
    ipmi_power_user         = "deeproute"
    ipmi_power_pass         = "Yrqxicr@123"
    machine_hostname        = "10-10-12-53"
    machine_cidr            = "10.10.12.0/24"
    machine_ip_address      = "10.10.12.53"
    machine_pool            = module.resourcepool-prod.name
    instance_image          = "ubuntu-20.04-hwe-2023-07-28-1690587096" 
    volume_docker_data_disk = true
}

